<?php 

// 连接数据库
$database = new medoo([
    'database_type' => 'mysql',
    'database_name' => 'yzw_db',
    'server' => 'localhost',
    'username' => 'root',
    'password' => '001029.cn',
    'charset' => 'utf8'
]);

?>